names = ("柯南",)
print(names,type(names))

# names = ("李小龙","陈冠希","流的玩","郭富城")
# print(names)
# print(names[2])
# for ele in names:
#     print(ele,end="")
#     print()
# print(names.index("郭富城"))


names = ("李小龙","陈冠希","流的玩","郭富城","郭富城")
print(names.index("李小龙"))
print(names.count("郭富城"))
print("_"*30)
names = ("名字","年龄","性别","职业")
for ele in names :
    print(ele)
    
print("_"*30)
names = "嘎嘎","滚共","蛋疼","哈哈哈"
for i in names:
    print(i)
print("_"*30)
stu = ("黑喉","男",165.5)
for eadd in stu :
    print(eadd)
print("_"*30)

name,sex,hight=stu
print(name,sex,hight)
a=3
b=5
tmp = a
a=5
b=tmp
print(a,b)

c,d = 1,2
c,d = d,c
print(c,d)
names= ("张三","李四","王五","赵六")
names = list(names)
names[0] = "小刘"
print(names)

lis = [1,"小明",3,4,5]
lis = tuple(lis)
#lis[2]="张三"
print(lis)
print("*"*30)




